<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>第一个直播播放器</title>
  </head>
  <body>
    <div id="player"></div>
    <script src="//player.polyv.net/resp/live-h5-player/latest/liveplayer.min.js"></script>
    <script>
      //参数开始
var uid="1b448be323";var vid="2557825";
//参数结束
      var player = polyvLivePlayer({
        wrap: "#player",
        width: '100%',
        height: 533,
        uid: uid, //用户id，即账号信息中的userId
        vid: vid // 频道id,即频道号
      });
    </script>
  </body>
</html>
